package cn.com.cifi.mars.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 项目回款系数表
 * </p>
 *
 * @author JingYuanXiang
 * @since 2020-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="DmProjectReturnCoefficient对象", description="项目回款系数表")
public class DmProjectReturnCoefficient implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "归属年月")
    private String affiliationMonth;

    @TableField(value="区域id")
    private String regionId;

    @TableField(value="区域名称")
    private String regionName;

    @TableField(value="城市公司id")
    private String cityCompanyId;

    @TableField(value="城市公司名称")
    private String cityCompanyName;

    @ApiModelProperty(value = "项目Id")
    private String projectId;

    @TableField(value = "项目编码")
    private String projectCode;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "版本类型（投资正式版、调整版、实际版）")
    private String versionType;

    @ApiModelProperty(value = "产品构成父级code")
    private String proProductCode;

    @ApiModelProperty(value = "产品构成父级name")
    private String proProductType;

    @ApiModelProperty(value = "第一月")
    private BigDecimal oneMonth;

    @ApiModelProperty(value = "第二月")
    private BigDecimal twoMonth;

    @ApiModelProperty(value = "第三月")
    private BigDecimal threeMonth;

    @ApiModelProperty(value = "第四月")
    private BigDecimal fourMonth;

    @ApiModelProperty(value = "第五月")
    private BigDecimal fiveMonth;

    @ApiModelProperty(value = "第六月")
    private BigDecimal sixMonth;

    @ApiModelProperty(value = "第七月")
    private BigDecimal sevenMonth;

    @ApiModelProperty(value = "第八月")
    private BigDecimal eightMonth;

    @ApiModelProperty(value = "第九月")
    private BigDecimal nineMonth;

    @ApiModelProperty(value = "第十月")
    private BigDecimal tenMonth;

    @ApiModelProperty(value = "第十一月")
    private BigDecimal elevenMonth;

    @ApiModelProperty(value = "第十二月")
    private BigDecimal twelveMonth;

    @ApiModelProperty(value = "第十三月")
    private BigDecimal thirteenMonth;

    @ApiModelProperty(value = "第十四月")
    private BigDecimal fourteenMonth;

    @ApiModelProperty(value = "第十五月")
    private BigDecimal fifteenMonth;

    @ApiModelProperty(value = "第十六月")
    private BigDecimal sixteenMonth;

    @ApiModelProperty(value = "第十七月")
    private BigDecimal seventeenMonth;

    @ApiModelProperty(value = "第十八月")
    private BigDecimal eighteenMonth;

    @ApiModelProperty(value = "第十九月")
    private BigDecimal nineteenMonth;

    @ApiModelProperty(value = "第二十月")
    private BigDecimal twentyMonth;

    @ApiModelProperty(value = "第二十一月")
    private BigDecimal twentyOneMonth;

    @ApiModelProperty(value = "第二十二月")
    private BigDecimal twentyTwoMonth;

    @ApiModelProperty(value = "第二十三月")
    private BigDecimal twentyThreeMonth;

    @ApiModelProperty(value = "第二十四月")
    private BigDecimal twentyFourMonth;

    public Map<Integer, Object> getCoefficientMap() {
        Map<Integer, Object> coefficientMap = new HashMap<>();
        coefficientMap.put(1,this.getOneMonth());
        coefficientMap.put(2,this.getTwoMonth());
        coefficientMap.put(3,this.getThreeMonth());
        coefficientMap.put(4,this.getFourMonth());
        coefficientMap.put(5,this.getFiveMonth());
        coefficientMap.put(6,this.getSixMonth());
        coefficientMap.put(7,this.getSevenMonth());
        coefficientMap.put(8,this.getEightMonth());
        coefficientMap.put(9,this.getNineMonth());
        coefficientMap.put(10,this.getTenMonth());
        coefficientMap.put(11,this.getElevenMonth());
        coefficientMap.put(12,this.getTwelveMonth());
        coefficientMap.put(13,this.getThirteenMonth());
        coefficientMap.put(14,this.getFourteenMonth());
        coefficientMap.put(15,this.getFifteenMonth());
        coefficientMap.put(16,this.getSixteenMonth());
        coefficientMap.put(17,this.getSeventeenMonth());
        coefficientMap.put(18,this.getEighteenMonth());
        coefficientMap.put(19,this.getNineteenMonth());
        coefficientMap.put(20,this.getTwentyMonth());
        coefficientMap.put(21,this.getTwentyOneMonth());
        coefficientMap.put(22,this.getTwentyTwoMonth());
        coefficientMap.put(23,this.getTwentyThreeMonth());
        coefficientMap.put(24,this.getTwentyFourMonth());
        return coefficientMap;
    }


}
